<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<div class="myform" id="stylized">
    <form action="<?php echo url_for('user/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>

	<input type="hidden" name="sf_method" value="put" />

	<?php echo $form->renderHiddenFields(false) ?>

	<?php echo $form->renderGlobalErrors() ?>

	<h1>Profil</h1>
	<p></p>

	<?php echo $form['name']->renderLabel() ?>
	<?php echo $form['name']->renderError() ?>
	<?php echo $form['name'] ?>

	<?php echo $form['about']->renderLabel() ?>
	<?php echo $form['about']->renderError() ?>
	<?php echo $form['about'] ?>

        <input class="button" type="submit" value="Uložiť" />


    </form>
</div>